package com.yunfei.mapper.aiiidb;
import com.yunfei.api.v1.directionary.result.CardTypeResultBo;
import com.yunfei.mapper.BaseDao;
import org.apache.ibatis.annotations.Mapper;
import java.util.Map;
import java.util.List;
import com.yunfei.yunhetong.dictionary.bo.*;
import com.yunfei.yunhetong.dictionary.entity.*;
/**
*@tablename Tdictionary
*@author zhengyunfei
*@createDate Mon Jul 29 09:50:52 CST 2019
*/ 
@Mapper
public interface DictionaryMapper<T> extends BaseDao<T>  {
	T get(Map<String, Object> paramMap);
	T findById(String id);
	T findByBo(DictionaryBo bo);
	void add(DictionaryEntity entity);
	void update(DictionaryEntity entity);
	int count(Map<String, Object> paramMap);
	int count(DictionaryEntity entity);
	List<T> findAllList(Map<String, Object> paramMap);
	List<T> findAllList(DictionaryBo bo);
	List<T> findAllListPage(DictionaryBo bo);
	List<T> findAllListPage(Map<String, Object> paramMap,int pageNow,int PageSize);
   //获取所有的证件类型
    List<CardTypeResultBo> getCardTypeList(Map<String, Object> queryMap);
}

